//
//  PlayerProtocol.h
//  TabulaImaginarium11
//
//  Created by TA2 on 6/20/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkController.h"
#import "NetworkProtocol.h"

@interface PlayerProtocol : NetworkProtocol {

}

- (void)readPacket:(NSArray *)packet fromSocket:(AsyncSocket *)socket;
- (void)sendRequestForAllPlayers;
- (void)sendPlayer:(NSString *) ip withAlias:(NSString *) alias;
- (void)sendRequestForGameName;
- (void)sendGameName;
- (void)sendRequestForPosition;
- (void)sendPositionToSocket:(AsyncSocket *)socket;
- (void)sendClearCommand;
- (void)setupProtocol;

@end
